﻿using RMS.Manage.Web.Controllers;
using RMS.Manage.Web.Areas.Demo.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace RMS.Manage.Web.Areas.Demo.Controllers
{
    public class DefaultController : BaseController
    {
        /// <summary>
        /// 导航框
        /// </summary>
        /// <returns></returns>
        public ActionResult Navbar()
        {
            var data = new Data();
            return PartialView(data.navbarItems().ToList());
        }
        /// <summary>
        /// 首页
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            return View();
        }
	}
}